add_subdirectory(Notched_Plate_Data_Loader)

if(HAVE_YAML)
  add_test (NOX_QS_MatrixFree_NoPrec_np1 python ./NOX_QS/NOX_QS_MatrixFree_NoPrec_np1/NOX_QS_MatrixFree_NoPrec.py)
  add_test (NOX_QS_MatrixFree_NoPrec_np4 python ./NOX_QS/NOX_QS_MatrixFree_NoPrec_np4/NOX_QS_MatrixFree_NoPrec.py)
  add_test (NOX_QS_MatrixFree_3x3Prec_np1 python ./NOX_QS/NOX_QS_MatrixFree_3x3Prec_np1/NOX_QS_MatrixFree_3x3Prec.py)
  add_test (NOX_QS_MatrixFree_3x3Prec_np4 python ./NOX_QS/NOX_QS_MatrixFree_3x3Prec_np4/NOX_QS_MatrixFree_3x3Prec.py)
  add_test (NOX_QS_MatrixFree_FullTangentPrec_np1 python ./NOX_QS/NOX_QS_MatrixFree_FullTangentPrec_np1/NOX_QS_MatrixFree_FullTangentPrec.py)
  add_test (NOX_QS_MatrixFree_FullTangentPrec_np4 python ./NOX_QS/NOX_QS_MatrixFree_FullTangentPrec_np4/NOX_QS_MatrixFree_FullTangentPrec.py)
  add_test (NOX_QS_Newton_NoPrec_np1 python ./NOX_QS/NOX_QS_Newton_NoPrec_np1/NOX_QS_Newton_NoPrec.py)
  add_test (NOX_QS_Newton_NoPrec_np4 python ./NOX_QS/NOX_QS_Newton_NoPrec_np4/NOX_QS_Newton_NoPrec.py)
  add_test (NOX_QS_Newton_AztecOOPrec_np1 python ./NOX_QS/NOX_QS_Newton_AztecOOPrec_np1/NOX_QS_Newton_AztecOOPrec.py)
  add_test (NOX_QS_Newton_AztecOOPrec_np4 python ./NOX_QS/NOX_QS_Newton_AztecOOPrec_np4/NOX_QS_Newton_AztecOOPrec.py)
endif(HAVE_YAML)
add_test (BodyForce_Implicit_np1 python ./Body_Force/Body_Force_Implicit_np1/Body_Force_Implicit.py)
add_test (BodyForce_Implicit_np4 python ./Body_Force/Body_Force_Implicit_np4/Body_Force_Implicit.py)
add_test (BodyForce_Explicit_np1 python ./Body_Force/Body_Force_Explicit_np1/Body_Force_Explicit.py)
add_test (BodyForce_Explicit_np4 python ./Body_Force/Body_Force_Explicit_np4/Body_Force_Explicit.py)
add_test (BodyForce_QS_np1 python ./Body_Force/Body_Force_QS_np1/Body_Force_QS.py)
add_test (BodyForce_QS_np4 python ./Body_Force/Body_Force_QS_np4/Body_Force_QS.py)
add_test (BodyForce_QS_NOX_np1 python ./Body_Force/Body_Force_QS_NOX_np1/Body_Force_QS_NOX.py)
add_test (BodyForce_QS_NOX_np4 python ./Body_Force/Body_Force_QS_NOX_np4/Body_Force_QS_NOX.py)
add_test (CentrifugalLoad_np1 python ./CentrifugalLoad/np1/CentrifugalLoad.py)
add_test (CentrifugalLoad_np4 python ./CentrifugalLoad/np4/CentrifugalLoad.py)
add_test (Compression_NLCGQS_3x2x2_np1 python ./Compression_NLCGQS_3x2x2/np1/Compression_NLCGQS_3x2x2.py)
add_test (Compression_NLCGQS_3x2x2_np2 python ./Compression_NLCGQS_3x2x2/np2/Compression_NLCGQS_3x2x2.py)
add_test (Contact_Cubes_np1 python ./Contact_Cubes/np1/Contact_Cubes.py)
add_test (Contact_Cubes_np4 python ./Contact_Cubes/np4/Contact_Cubes.py)
add_test (Contact_Cubes_Interaction_Blocks_np1 python ./Contact_Cubes_Interaction_Blocks/np1/Contact_Cubes_Interaction_Blocks.py)
add_test (Contact_Cubes_Interaction_Blocks_np4 python ./Contact_Cubes_Interaction_Blocks/np4/Contact_Cubes_Interaction_Blocks.py)
add_test (Contact_Ring_np1 python ./Contact_Ring/np1/Contact_Ring.py)
add_test (Contact_Ring_np4 python ./Contact_Ring/np4/Contact_Ring.py)
add_test (Contact_Perforation_np1 python ./Contact_Perforation/np1/Contact_Perforation.py)
add_test (Contact_Perforation_np3 python ./Contact_Perforation/np3/Contact_Perforation.py)
add_test (Compression_QS_3x2x2_np1 python ./Compression_QS_3x2x2/np1/Compression_QS_3x2x2.py)
add_test (Compression_QS_3x2x2_np2 python ./Compression_QS_3x2x2/np2/Compression_QS_3x2x2.py)
add_test (Multiphysics_QS_3x2x2_np1 python ./Multiphysics_QS_3x2x2/np1/Multiphysics_QS_3x2x2.py)
add_test (Multiphysics_QS_3x2x2_np2 python ./Multiphysics_QS_3x2x2/np2/Multiphysics_QS_3x2x2.py)
add_test (Compression_QS_Explicit_3x2x2_np1 python ./Compression_QS_Explicit_3x2x2/np1/Compression_QS_Explicit_3x2x2.py)
add_test (Compression_QS_Explicit_3x2x2_np2 python ./Compression_QS_Explicit_3x2x2/np2/Compression_QS_Explicit_3x2x2.py)
add_test (Compression_QS_Explicit_MultiFreqOutput_3x2x2_np1 python ./Compression_QS_Explicit_MultiFreqOutput_3x2x2/np1/Compression_QS_Explicit_MultiFreqOutput_3x2x2.py)
add_test (Compression_QS_Explicit_MultiFreqOutput_3x2x2_np2 python ./Compression_QS_Explicit_MultiFreqOutput_3x2x2/np2/Compression_QS_Explicit_MultiFreqOutput_3x2x2.py)
add_test (Compression_QS_CyclicLoading_3x2x2_np1 python ./Compression_QS_CyclicLoading_3x2x2/np1/Compression_QS_CyclicLoading_3x2x2.py)
add_test (Compression_QS_CyclicLoading_3x2x2_np2 python ./Compression_QS_CyclicLoading_3x2x2/np2/Compression_QS_CyclicLoading_3x2x2.py)
add_test (Compression_QS_3x2x2_Exodus_np1 python ./Compression_QS_3x2x2_Exodus/np1/Compression_QS_3x2x2_Exodus.py)
add_test (Compression_QS_3x2x2_Exodus_np2 python ./Compression_QS_3x2x2_Exodus/np2/Compression_QS_3x2x2_Exodus.py)
add_test (Compression_QS_3x2x2_TextFile_np1 python ./Compression_QS_3x2x2_TextFile/np1/Compression_QS_3x2x2_TextFile.py)
add_test (Compression_QS_3x2x2_TextFile_np3 python ./Compression_QS_3x2x2_TextFile/np3/Compression_QS_3x2x2_TextFile.py)
add_test (WaveInBar_np1 python ./WaveInBar/np1/WaveInBar.py)
add_test (WaveInBar_np3 python ./WaveInBar/np3/WaveInBar.py)
add_test (WaveInBar_MultiBlock_np1 python ./WaveInBar_MultiBlock/np1/WaveInBar_MultiBlock.py)
add_test (WaveInBar_MultiBlock_np4 python ./WaveInBar_MultiBlock/np4/WaveInBar_MultiBlock.py)
add_test (Bar_OneBlock_OneMaterial_QS_np1 python ./Bar_OneBlock_OneMaterial_QS/np1/Bar.py)
add_test (Bar_OneBlock_OneMaterial_QS_np2 python ./Bar_OneBlock_OneMaterial_QS/np2/Bar.py)
add_test (Bar_TwoBlocks_OneMaterial_QS_np1 python ./Bar_TwoBlocks_OneMaterial_QS/np1/Bar.py)
add_test (Bar_TwoBlocks_OneMaterial_QS_np2 python ./Bar_TwoBlocks_OneMaterial_QS/np2/Bar.py)
add_test (Bar_TwoBlocks_TwoMaterial_QS_np1 python ./Bar_TwoBlocks_TwoMaterial_QS/np1/Bar.py)
add_test (Bar_TwoBlocks_TwoMaterial_QS_np2 python ./Bar_TwoBlocks_TwoMaterial_QS/np2/Bar.py)
add_test (Bar_TwoBlocks_TwoDifferentMaterial_QS_np1 python ./Bar_TwoBlocks_TwoDifferentMaterial_QS/np1/Bar.py)
add_test (Bar_TwoBlocks_TwoDifferentMaterial_QS_np2 python ./Bar_TwoBlocks_TwoDifferentMaterial_QS/np2/Bar.py)
add_test (Bar_TwoBlocks_TwoDifferentMaterial_QS_np3 python ./Bar_TwoBlocks_TwoDifferentMaterial_QS/np3/Bar.py)
add_test (Bar_TwoDisconnectedPieces_QS_np1 python ./Bar_TwoDisconnectedPieces_QS/np1/Bar.py)
add_test (Bar_TwoDisconnectedPieces_QS_np2 python ./Bar_TwoDisconnectedPieces_QS/np2/Bar.py)
add_test (Bar_TwoDisconnectedPieces_QS_np3 python ./Bar_TwoDisconnectedPieces_QS/np3/Bar.py)
add_test (NodalVariableOutput_np1 python ./NodalVariableOutput/np1/NodalVariableOutput.py)
add_test (MultipleOutputFiles_np1 python ./MultipleOutputFiles/np1/MultipleOutputFiles.py)
add_test (MultipleOutputFiles_np2 python ./MultipleOutputFiles/np2/MultipleOutputFiles.py)
add_test (DefaultBlocks_np1 python ./DefaultBlocks/np1/DefaultBlocks.py)
add_test (DefaultBlocks_np4 python ./DefaultBlocks/np4/DefaultBlocks.py)
add_test (PrecrackedPlate_np1 python ./PrecrackedPlate/np1/PrecrackedPlate.py)
add_test (PrecrackedPlate_np4 python ./PrecrackedPlate/np4/PrecrackedPlate.py)
add_test (PrecrackedPlateTwoCracks_np1 python ./PrecrackedPlateTwoCracks/np1/PrecrackedPlate.py)
add_test (PrecrackedPlateTwoCracks_np4 python ./PrecrackedPlateTwoCracks/np4/PrecrackedPlate.py)
add_test (DiskFilter_np1 python ./DiskFilter/np1/DiskFilter.py)
add_test (DiskFilter_np4 python ./DiskFilter/np4/DiskFilter.py)
add_test (DeformationGradient_PlaneStrainCompression_np1 python ./DeformationGradient/PlaneStrainCompression_np1/PlaneStrainCompression.py)
add_test (DeformationGradient_PlaneStrainCompression_np4 python ./DeformationGradient/PlaneStrainCompression_np4/PlaneStrainCompression.py)
add_test (DeformationGradient_SimpleShear_np1 python ./DeformationGradient/SimpleShear_np1/SimpleShear.py)
add_test (DeformationGradient_SimpleShear_np4 python ./DeformationGradient/SimpleShear_np4/SimpleShear.py)
add_test (DeformationGradient_PureShear_np1 python ./DeformationGradient/PureShear_np1/PureShear.py)
add_test (DeformationGradient_PureShear_np4 python ./DeformationGradient/PureShear_np4/PureShear.py)
add_test (DeformationGradient_SolidRotation_np1 python ./DeformationGradient/SolidRotation_np1/SolidRotation.py)
add_test (DeformationGradient_SolidRotation_np4 python ./DeformationGradient/SolidRotation_np4/SolidRotation.py)
add_test (DeformationGradient_NoDeformation_np1 python ./DeformationGradient/NoDeformation_np1/NoDeformation.py)
add_test (DeformationGradient_NoDeformation_np4 python ./DeformationGradient/NoDeformation_np4/NoDeformation.py)
add_test (DeformationGradient_NoLoad_np1 python ./DeformationGradient/NoLoad_np1/NoLoad.py)
add_test (DeformationGradient_NoLoad_np4 python ./DeformationGradient/NoLoad_np4/NoLoad.py)
add_test (Interfaces_np1 python ./Interfaces/Interfaces_np1/Interfaces.py)
#add_test (Interfaces_np4 python ./Interfaces/Interfaces_np4/Interfaces.py)
add_test (Pals_Simple_Shear_np1 python ./Pals_Simple_Shear/np1/Pals_Simple_Shear.py)

add_custom_target( rtest
   COMMAND ctest
)
